package com.airhockey;

/**
 * All the receivable signals during a game 
 * @author Maxime
 */

public interface MessageEvent 
{
	/**
	 * Indicate a reconnexion
	 */
	void reconnexion();
	/**
	 * Indicate the begining of a game
	 */
	void demarrage();
	/**
	 * Indicate a movement of the current user
	 */
	void deplacement();
	/**
	 * Indicate a movement of the adversory
	 */
	void deplacementAdversaire();
	/**
	 * Indicate a movement of the ball
	 */
	void deplacementPalet();
	/**
	 * Indicate the end of the game
	 */
	void finPartie(boolean win,boolean deco);
	/**
	 * Indicate a goal
	 */
	void but(boolean owner);
	/**
	 * Indicate a collision
	 */
	void collision();
	/**
	 * Indicate the initialisation signal
	 */
	void init();
}
